#ifndef __WS2812_DRIVER_H__
#define __WS2812_DRIVER_H__

#include "ws2812_flowing.h"
#include "ws2812.h"
#include "tim.h"
#include "main.h"

typedef struct ws2812_driver_s
{
    uint16_t buff_len;
    uint8_t reset_len;
    uint16_t *buff;
} ws2812_driver_t;

uint8_t buff_send_1(uint8_t num, rgb_t *leds);
uint8_t buff_send_2(uint8_t num, rgb_t *leds);
uint8_t buff_send_3(uint8_t num, rgb_t *leds);

#endif
